package ds.linklist.sorted;

/**链表的普通结点*/
public class Link {

	private int iData;
	Link next = null; // 采用默认修饰符，外包无法访问next属性
	//---------------------------------
	public Link(int iData){
		this.iData = iData;
	}
	
	public int getData()
	{
		return iData;
	}
	
	public void displayLink()
	{
		System.out.println(iData + " ");
	}
}
